import Vue from 'vue'
import Router from 'vue-router'
import Hello from '../views/Hello'
import friend from "../views/friend.vue"
import star from "../views/Star.vue"
import Slider from "../views/Slider.vue"

import Setting from "../views/Setting.vue"



Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Hello,
    },
    {
      path: '/friend',
      component: friend
    },
    {
        path: '/star',
       component:star
    },
     {
        path: '/Slider',
       component:Slider
    },
     {
        path: '/Setting',
       component:Setting
    }
  ]
})
